package edu.sctu.practice.class02.hujie.cgs.practice02.test14;

/**
 * Created by hj on 2015/10/25.
 */
public class SomeOne {
    public SomeOne() {
        this.one(0, 0);
    }

    public int one(int a, int b) {
        int max = a;
        if (a < b) {
            max = b;
        } else {
            max = a;
        }
        return max;
    }

    public double two(double a, double b, double c) {
        double result;
        result = a * b * c;
        return result;
    }

    public String three(String a, String b) {
        System.out.println("a" + a);
        System.out.println("b" + b);
        if (a == b) {
            System.out.println("这两个字符串相同");
        } else {
            System.out.println("这两个字符串不相同");
        }

        return null;
    }
}

